{include file="news/header.tpl"}
   
<!-- 头部// -->
{include file="news/top.tpl"}


{include file="news/nav.tpl"}
{literal}
<script type="text/javascript">

function vaild(id,type){

$.post("/member/vaildface",{id:id,type:type},function(data){
alert(data.message);
	$("#"+id).remove();
},"json");
	
}
</script>
{/literal}

	<!-- start: Content -->
			<div id="content" class="span10">
			
						
			<div class="row-fluid">


	<div class="well"> <!-- Only required for left/right tabs -->
  <ul class="nav nav-tabs">
    <li class="active"><a href="#tab1" data-toggle="tab">基本信息</a></li>
    <li><a href="#tab2" data-toggle="tab">真实信息</a></li>
     <li><a href="#tab3" data-toggle="tab">账户信息</a></li>
          <li><a href="#tab4" data-toggle="tab">验证信息</a></li>
              <li><a href="#tab5" data-toggle="tab">历史跟踪</a></li>
     
  </ul>
  <div class="tab-content">
   <div class="tab-pane active" id="tab1">

<form action="/member/edit" method="post">

	
<table class="table">

<tr><td class="col-md-2">{$lang['ACCOUNT']}</td><td class="col-md-3">
<input name="username" type="text" class="form-control"  value="{$rs.username}" >
</td><td class=right rowspan=4 colspan="2"><img src="{$rs.face}"  class="thumbnail">&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:">禁用</a></td></tr>
<tr><td >{$lang['PASSWORD']}</td><td class="col-md-3">
<input name="password" type="text"  class="form-control" value="{$password}" >
</td></tr>
<tr><td >{$lang['USERNAME']}</td><td class="col-md-3">
<input name="real_name" type="text" class="form-control" value="{$rs.real_name}">
</td></tr>

<tr><td >{$lang['MOBILE']}</td><td class="col-md-3">
<input name="mobile_phone" type="text" class="form-control" value="{$rs.mobile_phone}">
</td></tr>

<tr><td >{$lang['COUNTRY']}</td><td class="col-md-3">
<input name="country" type="text"  class="form-control"  value="{$rs.country}">
</td></tr>



<tr><td >{$lang['CITY']}</td><td class="col-md-3">
<input name="area" type="text"  class="form-control"  value="{$rs.area}">
</td></tr>




<tr><td >{$lang['EMAIL']}</td><td class="col-md-3">
<input name="email" type="text" class="form-control"  value="{$rs.email}">
</td></tr>


<tr><td >{$lang['CHECK']}</td><td  class="col-md-3">
<select name="verify" class="form-control">
{foreach from=$verify key=ke item=l}
<option value="{$ke}"  {if $rs.verify==$ke}selected{/if}>{$l}</option>
{/foreach}
</select>

</td></tr>





<tr><td >{$lang['GROUP']}</td><td class="col-md-3">
<select name="groupid" class="form-control">
{section name=l loop=$group}
<option value="{$group[l].id}"  {if $rs.groupid==$group[l].id}selected{/if}>{$group[l].name}</option>
{/section}
</select>

</td></tr>


<tr><td >{$lang['STATUS']}</td><td >
<input type="radio" name="status"  value="0" {if $rs.status==0}checked{/if}>Enabled
<input type="radio" name="status" value="1" {if $rs.status==1}checked{/if}>Disabled


</td></tr>


<tr><td >{$lang['MANAGER']}</td><td >
<input type="radio" name="manager"  value="0" {if $rs.manager==0}checked{/if}>Disanled
<input type="radio" name="manager" value="1" {if $rs.manager==1}checked{/if}>Enabled
</select>

</td></tr>


<tr><td >注册信息</td><td colspan="3">
 {$rs.area}[{$rs.ip}]  {$rs.add_time|date_format:"%Y/%m/%d %H:%M"} </td></tr>

<tr>
<td>
<input type="hidden" name="uid" value="{$rs.uid}">
<input type="submit" name="" value="{$lang['SAVE']}"  class="btn btn-primary"></input>
</tr>

</form>
</table>
</div>


   <div class="tab-pane" id="tab2">1</div>
      <div class="tab-pane active" id="tab3">22
   </div>
      <div class="tab-pane active" id="tab4">333
   </div>
    <div class="tab-pane active" id="tab5">666
   </div>
</div>
</div>
{include file="news/footer.tpl"}


